home *** CD-ROM | disk | FTP | other *** search
- global gProjectorInUse, colorcrsr, gMovieSprite
-
- on setCursor newCursor, newXCursor
- if (the machineType = 256) or not gProjectorInUse then
- if newCursor = -1 then
- set the cursor of sprite gMovieSprite to -1
- else
- set the cursor of sprite gMovieSprite to [the number of cast newCursor, the number of cast (newCursor & " Mask")]
- end if
- else
- if newCursor = -1 then
- restoreCursor()
- else
- setXcursor(newXCursor)
- end if
- end if
- end
-
- on setXcursor newXCursor
- if newXCursor < 9101 then
- set newXCursor to 9101
- else
- if newXCursor > 9403 then
- set newXCursor to 9403
- end if
- end if
- if not objectp(colorcrsr) then
- set colorcrsr to ColorCursor(mnew)
- end if
- colorcrsr(mGetSetCursor, newXCursor)
- end
-
- on restoreCursor
- if not objectp(colorcrsr) then
- exit
- end if
- colorcrsr(mReleaseCursor)
- colorcrsr(mdispose)
- cursor(0)
- cursor(4)
- cursor(-1)
- end
-